# cython: language_level=3
from sanic import Blueprint

from . import views

bp = Blueprint("xingwei", url_prefix="/xingwei")

# load blueprint request middleware
# from utils import middlewares
# bp.on_request(middlewares.check_user)

# 阿伟风控v1 白名单新客
bp.add_route(views.GetScore.as_view(), "GetScore/")
# 阿伟风控老客v1 同产品老客
bp.add_route(views.GetOldV1.as_view(), "GetOldV1/")